<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
 
<style>
.myEditor {
	width: 1024px;
}
</style>

<script type="text/javascript">


		$(document).ready(function(){

			if( "{$vo['id']}" == '' || "{$vo['id']}" == null || "{$vo['id']}".length==0){
				$('#image_small').hide();
			}else{
				$('#image_small').show();
			}
				
		});


	
	    function demo(){	
	    	//alert($('input:radio[name="r1"]:checked').val()); 
		    /*
	    	editor.sync();
			$.post('__URL__/bulletinInsert',
    	    {	
	    	    'id':"{$vo['id']}",	    	    
	    	    'mark':"{$mark}" ,
				'rel':$("#rel").val(),
	    		'title':$("#title").val(),
	    		'content':editor.getContent(),
	    		'module':$("#module").val(),
	    		'author':$("#author").val(),	    	    		
	    		'rel':$("#rel").val(),
	    		'summary':$("#summary").val(),
	    		'submodule':$("#submodule").val(),
	    		'xFilePath':$("#xFilePath").val()
	    	},
			    function(data){
					alert(data.info);					
			    },
		    'json');	
		    */
	    }
	</script>
</head>
<body>
<form method="post" action="__URL__/saveNews"
	class="pageForm required-validate" onsubmit="return local_validateCallback(this)" enctype="multipart/form-data">
	<input type="hidden" name="mark" value="{$mark}" /> 
	<input type="hidden" name="id" value="{$vo['id']}" /> 
	
	<include file="./Tpl/default/News/common.html" />
	 
	<input type="hidden" name="callbackType" value="forward"> 
	<input type="hidden" name="forwardUrl" value="__URL__/index">
	
	<div class="pageContent" layoutH="42">
		<div class="panel" defH="300">
			<h1>内容编辑</h1>
			<div>
			<textarea class="editor" name="editorcontent" rows="22" cols="145"														
									upLinkUrl="__PUBLIC__/uploadfiles/upload.php" upLinkExt="zip,rar,txt" 
									upImgUrl="__PUBLIC__/uploadfiles/upload.php" upImgExt="jpg,jpeg,gif,png" 
									upFlashUrl="__PUBLIC__/uploadfiles/upload.php" upFlashExt="swf"
									upMediaUrl="__PUBLIC__/uploadfiles/upload.php" upMediaExt:"avi">
			{$vo['content']}
			</textarea>
			</div>
		</div>
	</div>
	
</form>





</body>
</html>
